package com.easylinkin.linkappapi.check.controller;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.easylinkin.linkappapi.openapi.service.SynchronizationLinkthingService;

import site.morn.rest.RestBuilders;
import site.morn.rest.RestMessage;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author liuming
 * @since 2020-04-17
 */
@RestController
public class CheckhealthController {
	@Autowired
	SynchronizationLinkthingService synchronizationLinkthingService ;
	
	@RequestMapping(value="/checkhealth",produces="application/json;charset=UTF-8")
    public RestMessage checkhealth() {
		String checkhealth = "true";
        return RestBuilders.successBuilder(checkhealth).build();
    }

}
